var HIGHLIGHT_KEY = 'heat-highlight';
var LAST_ARTICLE_KEY = 'heat-last-article';


function getHightlightHeat() {
    return parseInt(localStorage[HIGHLIGHT_KEY] || '0', 10);
}

function setHightlightHeat(value) {
    localStorage[HIGHLIGHT_KEY] = value;
}

function getLastArticleHeat() {
    return localStorage[LAST_ARTICLE_KEY] || '1';
}

function setLastArticleHeat(value) {
    localStorage[LAST_ARTICLE_KEY] = value;
}